package com.yydm.serviceacls.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 角色和权限的关系
 */
@Data
@TableName(value = "role_permission", autoResultMap = true)
@ApiModel(value = "角色和权限关系对象模型")
public class RolePermission {
    @ApiModelProperty(value = "角色id",required = true)
    private Long role_id;
    @ApiModelProperty(value = "权限id",required = true)
    private Long permission_id;
}
